﻿namespace PLCS.Domain.Orders;

public interface IHisOrderRepository : IRepository<HisOrder, Guid>
{
    Task<IEnumerable<HisOrder>> GetHisOrderListAsync(Expression<Func<HisOrder, bool>> predicate);

    Task<IEnumerable<HisOrder>> GetHisOrderListAsync();

    Task<HisOrder?> FindHisOrderByNoAsync(string orderNo);

    Task<IEnumerable<HisOrder>> GetListByTimeAsync(string startTime, string endTime);
}